<template>
  <TbTitle level="2" title="（二）本年度会议及换届情况" />
  <table border="0" class="m-table">
    <tr>
      <td style="text-align: center; width: 35%;">章程规定</td>
      <td style="text-align: center; width: 35%;">换届或会议情况</td>
      <td style="text-align: center; width: 40%;">会议召开方式</td>
    </tr>
    <tr>
      <td>
        会员代表大会或理事会届期（
        <span>{{ detailInfo.memberRepresentativeInterval }}</span>
        ) 年
      </td>
      <td>
        最近一次已召开的换届大会时间为（
        <span>{{ detailInfo.recentlyChangeTenureTime }}</span>
        ）
      </td>
      <td><span>{{ detailInfo.recentlyChangeMeetingFormat }}</span></td>
    </tr>
    <tr>
      <td>
        会员（代表）大会（
        <span>{{ detailInfo.memberRepresentativeInterval }}</span>
        ）年一次
      </td>
      <td>
        最近一次已召开的会员（代表）大会时间为（
        <span>{{ detailInfo.recentlyMemberMeetingTime }}</span>
        ）
      </td>
      <td><span>{{ detailInfo.recentlyMemberMeetingFormat }}</span></td>
    </tr>
    <tr>
      <td>
        理事会（
        <span>{{ detailInfo.directorMeetingInterval }}</span>
        ）年（
        <span>{{ detailInfo.yearlyDirectorMeetingCount }}</span>
        ）次
      </td>
      <td>
        本年度召开理事会（
        <span>{{ detailInfo.yearlyDirectorMeetingCount }}</span>
        ）次
      </td>
      <td><span>{{ detailInfo.yearlyDirectorMeetingFormat }}</span></td>
    </tr>
    <tr>
      <td>
        常务理事会（
        <span>{{ detailInfo.executiveDirectorMeetingInterval }}</span>
        ）年（
        <span>{{ detailInfo.yearlyExecutiveDirectorMeetingCount }}</span>
        ）次
      </td>
      <td>
        本年度召开常务理事会（
        <span>{{ detailInfo.thenExecutiveDirectorMeetingCount }}</span>
        ）次
      </td>
      <td><span>{{ detailInfo.yearlyExecutiveMeetingFormat }}</span></td>
    </tr>
    <tr>
      <td>未如期召开理事会的原因</td>
      <td colspan="2"><span>{{ detailInfo.failureDirectorMeeting }}</span></td>
    </tr>
    <tr>
      <td>未如期召开常务理事会的原因</td>
      <td colspan="2"><span>{{ detailInfo.failureExecutiveDirectorMeeting }}</span></td>
    </tr>
    <tr>
      <td>未如期召开换届的原因</td>
      <td colspan="2"><span>{{ detailInfo.failureChangeTenure }}</span></td>
    </tr>
    <tr>
      <td>是否申请延期换届</td>
      <td><span>{{ detailInfo.applyExtension == 1?'是':'否' }}</span></td>
      <td>
        延期至（
        <span>{{ detailInfo.extensionTime }}</span>
        ）换届
      </td>
    </tr>
    <tr>
      <td colspan="3">
        登记机关批准延期换届的日期（
        <span>{{ detailInfo.capproveTime }}</span>
        ）
      </td>
    </tr>
  </table>
</template>

<script setup lang="ts">
import TbTitle from '@/views/yearCheck/components/TbTitle.vue'
import { ref, inject, getCurrentInstance } from 'vue'
const { getDetailInfo } = inject('getDetailInfo')
const { proxy } = getCurrentInstance()
const yesNoBool = proxy.$yesNoBool

let detailInfo = ref({})
getDetailInfo().then(res => {
  detailInfo.value = res.data
})
</script>
<style lang="scss" scoped>
.msg-tip {
  padding: 20px 0;
  color: #000;

  font-family: '微软雅黑';
}
</style>
